﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Zhao.Models.Entity
{
    /// <summary>
    /// 球馆管理员关联表（权限分配）
    ///</summary>
    [SugarTable("VenueAdmins")]
    public class VenueAdmins
    {


        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "AdminID", IsPrimaryKey = true, IsIdentity = true)]
        public int AdminID { get; set; }

        /// <summary>
        /// 备  注:用户ID（关联Users表）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "UserID")]
        public int UserID { get; set; }

        /// <summary>
        /// 备  注:管理的球馆ID（关联Venues表）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "VenueID")]
        public int VenueID { get; set; }

        /// <summary>
        /// 备  注:角色ID（通常为场馆管理员角色）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "RoleID")]
        public int RoleID { get; set; }

        /// <summary>
        /// 备  注:软删除标记（0-有效，1-已解除权限）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "IsDeleted")]
        public bool? IsDeleted { get; set; }

        /// <summary>
        /// 备  注:权限分配时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "CreatedAt")]
        public DateTime? CreatedAt { get; set; }


    }

}